<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>作业1</title>
</head>
<body>
<form action="#">
<table border="1">
    <caption><h1>欢迎注册</h1></caption>
    <tr>
        <td>用户名:</td>
        <td>
            <input type="text">
        </td>
    </tr>
    <tr>
        <td>密码:</td>
        <td>
            <input type="password">
        </td>
    </tr>
    <tr>
        <td>性别:</td>
        <td>
            <input type="radio" name="gender" value="1" checked>男
            <input type="radio" name="gender" value="0">女
        </td>
    </tr>
    <tr>
        <td>爱好:</td>
        <td>
            <input type="checkbox" name="like" value="cy" checked>抽烟
            <input type="checkbox" name="like" value="hj" checked>喝酒
            <input type="checkbox" name="like" value="tt">烫头
        </td>
    </tr>
    <tr>
        <td>地址:</td>
        <td>
            <input type="text">
        </td>
    </tr>
    <tr>
        <td>生日:</td>
        <td>
            <input type="date">
        </td>
    </tr>
    <tr>
        <td>靓照:</td>
        <td>
            <input type="file">
        </td>
    </tr>
    <tr>
        <td>所在地:</td>
        <td>
            <select name="city">
                <option>上海</option>
                <option selected>北京</option>
                <option>天津</option>
            </select>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="checkbox" id="tt" checked>
            <label for="tt">我同意相关的服务协议</label>
        </td>
<!--        <td></td>-->
    </tr>
    <tr>
        <td colspan="2" style="text-align: center">
            <input type="submit" value="注册">
        </td>
<!--        <td></td>-->
    </tr>
</table>
</form>
</body>
</html>